import request from "../../request/request";

// 登录
export function login(data){
    return request({
        url:'/login',
        method:'post',
        headers:{'Content-Type':'application/x-www-form-urlencoded'},
        data
    })
}


// 退出登录
export function logout(){
    return request({
        url:'/logout',
        method:'post'
    })
}

